import request from '@/utils/request'

// 科室房间表列表
export function apiRoomDepartmentLists(params: any) {
    return request.get({ url: '/room.room_department/lists', params }, { ignoreCancelToken: true })
}

// 科室房间表列表
export function apiRoomDepartmentPrintListsRoomStat(params: any) {
    return request.get({ url: '/room.room_department/print_lists_room_stat', params })
}

// 科室房间表列表
export function apiRoomDepartmentPrintListsRoom(params: any) {
    return request.get({ url: '/room.room_department/print_lists_room', params })
}

// 科室房间表列表
export function apiRoomDepartmentExportListsRoomStat(params: any) {
    return request.get({ url: '/room.room_department/export_lists_room_stat', params })
}

// 科室房间表列表
export function apiRoomDepartmentExportListsRoom(params: any) {
    return request.get({ url: '/room.room_department/export_lists_room', params })
}

// 添加科室房间表
export function apiRoomDepartmentAdd(params: any) {
    return request.post({ url: '/room.room_department/add', params })
}

// 编辑科室房间表
export function apiRoomDepartmentEdit(params: any) {
    return request.post({ url: '/room.room_department/edit', params })
}

// 删除科室房间表
export function apiRoomDepartmentDelete(params: any) {
    return request.post({ url: '/room.room_department/delete', params })
}

// 科室房间表详情
export function apiRoomDepartmentDetail(params: any) {
    return request.get({ url: '/room.room_department/detail', params })
}

// 科室房间状态
export function roomDepartmentStatus(params: any) {
    return request.post({ url: '/room.room_department/updateStatus', params })
}

// 楼栋信息
export function departmentSearchLists(params?: any) {
    return request.get({ url: '/room.room_department/searchLists', params })
}
//楼栋信息
export function buildingAll(params?: any) {
    return request.get({ url: '/room.room_department/building', params })
}
//科室信息
export function departmentAll(params?: any) {
    return request.get({ url: '/room.room_department/department', params })
}

